package com.wanxi.education.mapper;

import com.wanxi.education.model.vo.advertandcertificate.*;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: yanguangqiong
 * @Description:
 * @Date: Created in 2021/9/28
 * @Version: 1.0
 */
@Repository
public interface ClassificationMapper {
    List<ClassificationForCourseVo> findDav();

    List<ClassificationFrontVo> findType(Long id);

    List<ClassificationVo> findPage(ClassificationFindPageVo classificationFindPageVo);

    List<ClassificationFrontVo> findAll();

    void add(ClassificationAddVo classificationAddVo);

    void update(ClassificationAddVo classificationAddVo);

    void delete(Long classificationId);

    ClassificationVo findById(Long classificationId);

    List<CertificateNameVo> findCertificateName(Long typeId);

    List<ClassificationFrontVo> findNavigation();

    Long findPName(String pName);

    List<ClassificationFrontVo> findPid(Long pid);

    List<CertificateNameVo> findByCCIEId(Long ccieId);

    List<ClassificationFrontVo> findCertificateId(Long id);

    ClassificationForCourseVo findByPid(Long pid);
}
